package com.dj.mingkong.admin.biz.enums;

/**
 * @author zenglonghui
 * @date: 2022/6/17 18:00
 */
public enum GenStatusEnum {
    WAIT(0, "待生成"),
    FINISH(1, "已生成");

    private final Integer intVal;
    private final String desc;

    GenStatusEnum(Integer intVal, String desc) {
        this.intVal = intVal;
        this.desc = desc;
    }

    public Integer getIntVal() {
        return intVal;
    }

    public String getDesc() {
        return desc;
    }

    public boolean equalsIntVal(Integer intVal) {
        return this.intVal.equals(intVal);
    }
}
